package com.drama.api.company.withdraw.dao;

import com.drama.api.company.withdraw.domain.po.CompanyWithdrawPO;
import com.drama.api.company.withdraw.domain.vo.CompanyWithdrawSearchVO;
import com.drama.api.company.withdraw.domain.vo.CompanyWithdrawVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.math.BigDecimal;
import java.util.List;

@Repository
public interface CompanyWithdrawDao extends Mapper<CompanyWithdrawPO> {
    List<CompanyWithdrawVO> getList(CompanyWithdrawSearchVO searchVO);

    BigDecimal getCountMoney(@Param("companyId") String companyId,@Param("withdrawState") Integer withdrawState);
}